Delete line item
DELETE/baskets/:id/provider/:providerBasketId/items/:lineItemId
Deletes the specified line item with the given id
Request
Path Parameters
The id of the basket
The id provider basket
The id item
Header Parameters
The API key for the given store
Responses
- 202
- 400
This is an asynchronous operation. Upon completion, the basket must be refetched.
- application/json
- Schema
- Example (from schema)
Schema
The id of a notification that represents this asynchronous request. OneBasket will be processing the request in the background, and upon completion this notification will be updated with the result.
{
"notificationId": "string"
}
This is an asynchronous operation. Upon completion, the basket must be refetched.
- application/json
- Schema
- Example (from schema)
Schema
The type of the problem. See the documentation for each problem type to see what other properties (extensions) will be present on the problem details for that type.
The title of the problem
Further details on the problem that occurred
The http status code for the problem if it is the result of a HTTP request. If the result of an asynchronous operation, this will not be present.
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0
}